<template>
  <div id="totalRightTop">
    <div class="d-flex jc-between" style="height: 100%; align-items: flex-start;">
      <dv-border-box-7 :color="['#3992f1', '#4796ff']" backgroundColor="rgba(255, 255, 255, 0.04)"
        class="d-flex jc-center trtbox" v-for="(item, index) in caseList" :key="index">
        <div class="r-t-title">{{ item.label }}</div>
        <div class="r-t-value">{{ item.value }}</div>
      </dv-border-box-7>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      myChart: null,
      options: {},
      caseList: [
        { label: '工程实施', value: 325 },
        { label: '设备总数', value: 10000 },
        { label: '告警设备', value: 100 },
      ],
    };
  },
  mounted() {
    this.init();
  },
  methods: {
    init() {
    },
  },
};
</script>

<style lang="scss">
#totalRightTop {
  height: 100%;

  .trtbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32%;
    height: 100%;
    justify-content: flex-start;
    box-shadow: none !important;

    .border-box-content {
      display: flex;
      flex-direction: column;
    }

    .r-t-title {
      position: relative;
      width: 100%;
      height: 0.4608rem;
      line-height: 0.4608rem;
      text-align: left;
      color: #fff;
      display: flex;
      align-items: center;
      padding-left: 15px;
      text-indent: 8px;

      &::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 0.16rem;
        background: #fff;
      }

      &::after {
        content: '';
        display: inline-block;
        width: 140px;
        height: 1px;
        position: absolute;
        background: #888;
        bottom: 0;
        margin-left: 12px;
      }
    }

    .r-t-value {
      width: 100%;
      flex: 1;
      justify-content: flex-start;
      display: flex;
      align-items: center;
      font-size: 0.4rem;
      color: #fff;
      text-indent: 15px;
    }
  }
}
</style>
